<script setup lang="ts">
import { useUserStore } from '@/stores'
const userStore = useUserStore()
</script>
<template>
  <el-watermark
    :font="{
      color: 'rgba(0, 0, 0, .15)'
    }"
    :content="userStore.info.username"
    style="width: 100%; height: 100%"
  >
    <el-scrollbar height="100%">
      <slot></slot>
    </el-scrollbar>
  </el-watermark>
</template>
<style scoped lang="less"></style>
